package com.funkids.prxis.mapper;

import com.funkids.prxis.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author funkids
 * @since 2023-03-08
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    SysUser getByUsername(String username);
    String getAuthorityInfoByid(Long id);

    List<Long> getMenuIds(Long userid);

    List<SysUser> listBymenuId(Long menuId);
}
